﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Debito.aspx.cs" Inherits="Ecommerce.Web.Debito" %>

    <html>
        <head>
            <script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.7.1.min.js" type="text/javascript"></script>
            <script type="text/javascript">

                $(document).ready(function () {

                    $('#form1').submit();

                    window.location = 'PedidoFInalizado.aspx';

                });

            </script>
        </head>
        <body>
    <form id="form1" runat="server" action="https://www.pagador.com.br/pagador/passthru.asp" target="_blank">

        <asp:HiddenField ID="Id_Loja" runat="server" />
        <asp:HiddenField ID="VendaId" runat="server" />
        <asp:HiddenField ID="valor" runat="server" />
        <asp:HiddenField ID="cpf" runat="server" />
        <asp:HiddenField ID="Nome" runat="server" />
        <asp:HiddenField ID="CODPAGAMENTO" runat="server" Value="92" />
        <asp:HiddenField ID="PARCELAS" runat="server" Value="1" />
        <asp:HiddenField ID="TIPOPARCELADO" runat="server" Value="0" />
        <asp:HiddenField ID="TRANSACTIONTYPE" runat="server" Value="2" />
        <asp:HiddenField ID="TRANSACTIONCURRENCY" runat="server" Value="BRL" />
        <asp:HiddenField ID="TRANSACTIONCOUNTRY" runat="server" Value="BRA" />

    </form>
            </body>
        </html>